package my.suveng.chat.export.task.model.result;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * @author 苏文广
 * 
 * @date 2020/10/10 15:34
 * 
 * @version v1
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ErrorWrapper<E> extends ObjectWrapper<E> {

    private String errorMessage;

    public ErrorWrapper(String errorMessage, E source) {
        this.errorMessage = errorMessage;
        setSource(source);
    }
}
